/* CSS Document */
body {
	background-color:#fff;
	background-image:url(%(c_abspath)s/static/imgs/body.gif);
	background-position:center;
	background-repeat:repeat-y;
	font-family: "Lucida Grande","Lucida Sans Unicode",geneva,verdana,sans-serif;
	font-size:10px;
	color:#777;
}
#container {
	width:500px;
	margin:0 auto;
}

#header {
	background-color:#eeeeee;
	margin:10px;
	padding:30px 10px 30px 10px;
	border-top:2px solid #ccc;
}

#header h1 {
	text-align:center;
	font-family:Trebuchet MS, Geneva, Arial, Helvetica, sans-serif;
	font-size:30px;
	color:#333;
	margin:0;
	font-weight:normal;
}
#header h1 strong {
	color:#A85BA6;
}
#header h1 a {
	color:#333;
	text-decoration:none;
}
#header h2 {
	font-size:11px;
	font-weight:normal;
	text-align:center;
	color:#999;
}
#header ul {
	margin:20px 0 0 0;
	padding:0;
}
#header li {
	margin:0;
	padding:0;
	list-style:none;
	float:left;
}
#header li a {
	display:block;
	padding:7px;
	color:#999;
	text-decoration:none;
	border-bottom:5px solid #fff;
	margin:0 10px 0 0;
	font-size:10px;
}
#header li a:hover {
	color:#000;
	border-bottom:7px solid #fff;
	padding:5px 7px 7px 7px;
}
#header li a em {
	font-style:normal;
	text-decoration:underline;
}

#sidebar {
	float:right;
	width:164px !important;
	width:154px;
	margin:10px 10px 10px 0;
}

ul.submenu {
	margin:0;
	padding:0;
}
.submenu li {
	margin:0;
	padding:0;
	list-style:none;
}
.submenu a {
	display:block;
	height:13px;
	padding:7px 7px 7px 17px;
	margin:1px 0 0 0;
	background-color:#fff;
	background-image:url(%(c_abspath)s/static/imgs/submenua_normal.jpg);
	background-position:left;
	background-repeat:repeat-y;
}
.submenu a:hover {
	background-image:url(%(c_abspath)s/static/imgs/submenua.jpg);
	background-position:bottom;
	background-repeat:no-repeat;
	background-color:#fff;
	padding:7px 7px 7px 15px;
}
.submenu a:focus {
	background-image:url(%(c_abspath)s/static/imgs/submenua.jpg);
	background-position:bottom;
	background-repeat:no-repeat;
	background-color:#fff;
	padding:7px 7px 7px 15px;
}
.submenu a:active {
	background-image:url(%(c_abspath)s/static/imgs/submenua.jpg);
	background-position:bottom;
	background-repeat:no-repeat;
	background-color:#fff;
	padding:7px 7px 7px 15px;
}

.note {
	padding:10px;
	background-color:#eee;
	border:1px solid #ccc;
	margin:20px 5px 20px 5px;
}

.comment {
	padding:5px;
	background-color:#eee;
	border:1px solid #ccc;
	margin:10px 5px 10px 5px;
}

.commauthline {
	font-size:11px;
	color:#ccc;
	margin:10px 0 10px 0;
	padding:0px;
        border-bottom: 1px solid;
        width: 100%%;
}
.commauth {
        float: left;
        text-align: left;
        color: #777;
        font-weight: bold;
}
.commdate {
        float: right;
        text-align: right;
}

.comment p {
	padding:0px;
	line-height:10px;
	word-spacing: 0.1em;
        margin: 0px;
}

#error {
        color: red;
        font-weight: bold;
        font-size: 17px;
        text-align: center;
}
#goback {
        text-align: center;
}

#content {
	margin:10px 10px 10px 10px; /* was 10px 185px */
}
#content h1 {
	font-family:Trebuchet MS, Geneva, Arial, Helvetica, sans-serif;
	font-size:14px;
	border-bottom:1px solid #eee;
	padding:5px;
	color:#000;
}
#content h1 a {
	color:#000;
	text-decoration:none;
	display:block;
	background-image:url(%(c_abspath)s/static/imgs/h1.png);
	background-position:right;
	background-repeat:no-repeat;
}
#content h1 a:hover {
	color:#444;
	background-image:url(%(c_abspath)s/static/imgs/h1_hover.png);
}
#content h2 {
	font-size:11px;
	color:#ccc;
	margin:10px 0 10px 0;
	padding:0px;
}
#content p {
	padding:5px;
	line-height:18px;
        word-spacing: 0.1em;
}
#content .article_menu {
	text-align:right;
	padding:5px;
	margin:10px 0 20px 0;
	border-top:1px solid #eee;
}
#content .article_menu b {
	float:left;
	font-weight:normal;
}
#content .article_menu a {
	padding:0 0 0 15px;
	background-position:left;
	background-repeat:no-repeat;
	color:#333;
	text-decoration:none;
}

#content p a {
	color:#333;
	text-decoration:none;
}

#content p:hover a {
	border-bottom:1px dotted #000;
}
#content p:hover a:hover {
	border-bottom:1px solid #000;
}
#content .article_menu a:hover {	
	color:#000;
}

#content ul {
	margin:0 0 0 15px;
	padding:0;
	border-top:1px solid #f6f6f6;
}

#content li {
	margin:5px 0 5px 0;
	border-bottom:1px solid #f6f6f6;
	padding:0 0 5px 20px;
	list-style:none;
	background-image:url(%(c_abspath)s/static/imgs/arrow.png);
	background-position:top left;
	background-repeat:no-repeat;
	color:#999;
}
#content blockquote {
	background-color:#f6f6f6;
	margin:4px;
	padding:5px;
	border-top:1px solid #eee;
	border-bottom:1px solid #eee;
}
#content blockquote p {
	margin:0;
	padding:0 10px 0 10px;
}


input, textarea {
	background-color:#fff;
	border:1px solid #ccc;
	padding:3px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#777;
}
textarea {
         width: 400px;
}
#footer {
	background-color:#eee;
	border-top:2px solid #ccc;
	padding:10px;
	text-align:center;

a {
	color:#333;
	text-decoration:none;
}

form p { display: table}
form p label { display: table-row; }
form p label strong.label { text-align: right; color: gray;
font-weight: normal; text-transform: lowercase; }
form p label strong.label:after { content: ":"}
form .wrong { color: red; font-weight: bold; }
form p label * { display: table-cell; padding: .3em; vertical-align: middle;} 